<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    var a=new Date()
    var b=new Date()
    console.log(typeof a);
    var c=[a,b]
    // console.log(typeof c);
    function acc(num){
      console.log(num);
    }
    // var kk=[acc("hh"),acc("ll")]
    var add=[]
    var kk=new acc('hh')
    var kk1=new acc('hh1')
    add.push(kk)
    add.push(kk1)
  </script>
</body>
</html>